<template>
	<view class="content">
		
		<!-- 折线示例-开始 -->
		<view class="chart-con gap">
			<view class="chart-wrap">
				
					<l-echart class="line-chart" ref="lineChart"></l-echart>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	import * as echarts from '@/uni_modules/lime-echart/static/echarts.min.js';
	export default {
		data() {
			return {
				type: 1, //交易分析模块里的类型
				jdData: {}, //进度那块数据
			}
		},
		mounted() {
			//加载折线图数据
			this.loadLineData();
		},
		methods: {
			//跳转
			toLeapChart(path) {
				uni.navigateTo({
					url: path
				})
			},
			//切换交易分析模块里的类型
			changeType(tp) {
				//设置类型
				this.type = tp;
				//重新加载数据
				this.loadLineData();
			},
			
			//加载折线图数据
			loadLineData() {
				
			}
		},
	}
</script>

<style lang="scss" scoped>
	
</style>